<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <h1>index.html</h1>
    <!--key=value&key=value&like=唱-->
    <form action="userMap" method="post" >
        姓名:<input type="text" name="name2"> <br />
        年龄:<input type="number" name="age"> <br />
        身高:<input type="number" name="height"><br />
        生日:
        <input type="date" name="birthday"> <br />
        <input type="text" name="dateTime"> <br />
        <input type="text" name="dateTime2"> <br />
        爱好:
        <input type="checkbox" name="likes" value="唱">唱
        <input type="checkbox" name="likes" value="跳">跳
        <input type="checkbox" name="likes" value="rap">rap

        <input type="submit" value="提交"><br />
    </form>
    <hr size="3" color="red" />
    <form action="list" method="post" >
        爱好:
        <input type="checkbox" name="likes" value="唱">唱
        <input type="checkbox" name="likes" value="跳">跳
        <input type="checkbox" name="likes" value="rap">rap

        <input type="submit" value="提交"><br />
    </form>
</body>
</html>